﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ContactModule.ascx.cs" Inherits="blackhouse.StareKino.Web.Contact.ContactModule" %>
<%@ Register Assembly="blackhouse.WebNemo.Web" Namespace="blackhouse.WebNemo.Web.Controls" TagPrefix="nemo" %>
<div class="contact">
    <portal:ModuleTitleControl ID="Title1" runat="server" EditUrl="/Modules/HtmlEdit.aspx" EnableViewState="false" />
    <asp:HiddenField runat="server" ID="hiddenHotelLocation" ClientIDMode="Static" />
    <asp:Literal runat="server" ID="ltlSubtitle" Text="<p class='right-addon-title'>{0}</p>" />
    <div class="cleaner"></div>
    <asp:PlaceHolder runat="server" ID="phEditActions">
        <ul class="actionLinks">
            <li>
                <nemo:linktoedit id="lnkNemoEditContactPage" runat="server" groupsysname="CONTACT_PAGE" openaspopup="false">
                    Edytuj stronę kontaktu</nemo:linktoedit>
            </li>
            <li>
                <nemo:linktoedit id="lnkNemoEditPlaces" runat="server" groupsysname="CONTACT_PLACES" openaspopup="false">Edytuj miejsca</nemo:linktoedit>
            </li>
        </ul>
    </asp:PlaceHolder>
    <div id="map-wrapper">
        <div id="map-canvas"></div>
        <div id="contact-content" class="brownContent">
            <div class="block">
                <asp:Literal runat="server" ID="ltlHotelName" Text="<h2 data-type='hotel-name'>{0}</h2>" />
                <p>
                    <asp:Literal runat="server" ID="ltlHotelSubtitle" Text="{0}<br />" />
                    <asp:Literal runat="server" ID="ltlHotelPostCode" Text="{0}" />
                    <asp:Literal runat="server" ID="ltlHotelCity" Text="{0}<br />" />
                    ul.
                <asp:Literal runat="server" ID="ltlHotelStreet" />
                </p>
            </div>
            <div class="block">
                <h3><%=GetGlobalResourceObject("Contact", "contactUs")%>:</h3>
                <p>
                    <asp:HyperLink runat="server" ID="lnkReceipt" Text="e-mail: {0}<br />" />
                    <asp:Literal runat="server" ID="ltlPhone" Text='<%$ Resources:Contact, phone %>' />
                    <asp:Literal runat="server" ID="ltlCellPhone" Text="<%$ Resources:Contact, cellPhone %>" />
                    <asp:Literal runat="server" ID="ltlInfoPhone" Text="<%$ Resources:Contact, infoPhone %>" />
                </p>
            </div>
            <div class="cleaner"></div>
        </div>

        <div id="contact-places">
            <asp:Repeater runat="server" ID="rptCategories">
                <HeaderTemplate>
                    <ul id="selectOnMap">
                        <li class="title"><%=GetGlobalResourceObject("Contact", "showOnMap")%>:</li>
                </HeaderTemplate>
                <ItemTemplate>
                    <li data-show="places-<%#Eval("CategoryId") %>"><%#Eval("CategoryName") %></li>
                </ItemTemplate>
                <FooterTemplate>
                    <li class="cleaner"></li>
                    </ul>
                </FooterTemplate>
            </asp:Repeater>
            <asp:Repeater runat="server" ID="rptPlaces" OnItemDataBound="rptPlaces_ItemDataBound">
                <HeaderTemplate>
                    <section id="contact-places-list">
                </HeaderTemplate>
                <ItemTemplate>
                    <article data-id="<%#Eval("PlaceId") %>" data-categoryid="<%#Eval("Category.CategoryId") %>" data-locationlat="<%#(Eval("PlaceLocation") as blackhouse.Locations.Location).Latitude.ToString(CultureInfo.GetCultureInfo("en-US")) %>" data-locationlng="<%#(Eval("PlaceLocation") as blackhouse.Locations.Location).Longitude.ToString(CultureInfo.GetCultureInfo("en-US")) %>" class="<%#Container.ItemIndex%2==0?"":"alternate" %>">
                        <h3><%#Eval("Name") %></h3>
                        <p class="subtitle"><%#Eval("Subtitle") %></p>
                        <p class="address">ul. <%#Eval("Street") %></p>
                        <p class="distance">
                            <span class="distance-value">
                                <asp:Literal runat="server" ID="ltlDistanceValue" /></span><span class="distance-time">
                                    <asp:Literal runat="server" ID="ltlDistanceTime" Text="<%$ Resources:Contact, hotelDistance %>" />
                                </span>
                        </p>
                        <p class="counter">
                            <%#Container.ItemIndex+1 %> z
                        <asp:Literal runat="server" ID="ltlTotalCount" />
                        </p>
                        <ul>
                            <li data-show="<%#Eval("PlaceId") %>"><%=GetGlobalResourceObject("Contact", "showOnMap")%></li>
                            <li data-show="places-<%#Eval("Category.CategoryId") %>"><%#Eval("Category.CategoryName") %> - <%=GetGlobalResourceObject("Contact", "showAll")%></li>
                        </ul>
                    </article>
                </ItemTemplate>
                <FooterTemplate></section></FooterTemplate>
            </asp:Repeater>
        </div>
        <div class="contact-trip">
            <div id="TA_impnearbyaccomnarrow688" class="TA_impnearbyaccomnarrow">
                <ul id="hFU3HK" class="TA_links 8LKhbSEb">
                    <li id="taru1hH" class="iX9vzlh"><a href="http://pl.tripadvisor.com/Tourism-g274837-Lodz_Lodz_Province_Central_Poland-Vacations.html">Wakacje w Łódź</a></li>
                    <li id="lns1VU3w" class="oXVwv5ZisV"><a href="http://pl.tripadvisor.com/Restaurants-g274837-Lodz_Lodz_Province_Central_Poland.html">Restauracje w Łódź</a></li>
                    <li id="fy4X5bONcTQ" class="YhqXzNGDh"><a href="http://pl.tripadvisor.com/Attractions-g274837-Activities-Lodz_Lodz_Province_Central_Poland.html">Atrakcje w Łódź</a></li>
                </ul>
            </div>
            <script src="http://www.jscache.com/wejs?wtype=impnearbyaccomnarrow&amp;uniq=688&amp;locationId=4813116&amp;lang=pl&amp;border=false&amp;ltype=h"></script>

        </div>
        <div class="cleaner"></div>
    </div>
</div>
<%if (ConfigurationManager.AppSettings["DisableAnalytics"] != "true") {  %>
<!-- Google Code for Kontakt Conversion Page -->
<script type="text/javascript">
    /* <![CDATA[ */
    var google_conversion_id = 984957080;
    var google_conversion_language = "en";
    var google_conversion_format = "3";
    var google_conversion_color = "ffffff";
    var google_conversion_label = "RIgqCOCNhAcQmIHV1QM";
    var google_conversion_value = 0;
    var google_remarketing_only = false;
    /* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
    <div style="display: inline;">
        <img height="1" width="1" style="border-style: none;" alt="" src="//www.googleadservices.com/pagead/conversion/984957080/?value=0&amp;label=RIgqCOCNhAcQmIHV1QM&amp;guid=ON&amp;script=0" />
    </div>
</noscript>
<%} %>